sd Jwt Vc Signature Verifier
Factory method for producing a SD-JWT-VC specific signature verifier. This verifier will get the Issuer's public key from the JWT part of the SD-JWT. In particular,
If
issclaim is an HTTPS URI and there is nox5cin the header, SD-JWT-VC metadata will be usedIf
issclaim is an HTTPS URI and there is ax5cclaim key will be extracted from the leaf certificate, if it is trusted & it contains a SAN DNS equal toissFQDNIf
issclaim is an HTTPS URI and there is ax5cclaim key will be extracted from the leaf certificate, if it is trusted & it contains a SAN URI equal toissIf
issclaim is a DID the key will be extracted by resolving it.
In addition, the verifier will ensure that typ claim is equal to vc+sd-jwt
Return
a SD-JWT-VC specific signature verifier as described above
Parameters
a factory for getting http clients, used while interacting with issuer
a function that accepts a chain of certificates (contents of x5c claim) and indicates whether is trusted or not. If it is not provided, defaults to X509CertificateTrust.None
an optional way of looking up public keys from DID Documents. A null value indicates that holder doesn't support DIDs